package math;

public class Vector4 {

    public float x;
    public float y;
    public float z;
    public float w;

    public float[] elements = new float[4];

    public Vector4(float x, float y, float z, float w){
        this.x = x;
        this.y = y;
        this.z = z;
        this.w = w;

        elements[0] = x;
        elements[1] = y;
        elements[2] = z;
        elements[3] = w;
    }

    public Vector4(){
        this.x = 0;
        this.y = 0;
        this.z = 0;
        this.w = 0;

        elements[0] = this.x;
        elements[1] = this.y;
        elements[2] = this.z;
        elements[3] = this.w;
    }
}
